翻訳と辞書
Words near each other
・ Friends & Family, Vol. 2
・ Friends & Lovers
・ Friends & Lovers (film)
・ Friends & Lovers (Marsha Ambrosius album)
・ Friends & People
・ Friends & Relatives
・ Friends & Strangers
・ Friends 'Til the End
・ Friends 'Til the End (book)
・ Friends (1799 ship)
・ Friends (1912 film)
・ Friends (1938 film)
・ Friends (1971 film)
・ Friend a Soldier
・ Friend and Foe
Friend class
・ Friend function
・ Friend Humphrey
・ Friend Humphrey House
・ Friend Like Me
・ Friend Like That
・ Friend Me
・ Friend of a friend
・ Friend of a Friend (song)
・ Friend of Dorothy
・ Friend of History Award
・ Friend of Mannequin
・ Friend of Mine
・ Friend of Mine (Greg Brown album)
・ Friend of Mine (Kelly Price song)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Friend class : ウィキペディア英語版
Friend class
A friend class in C++ can access the "private" and "protected" members of the class in which it is declared as a friend.〔http://www.desy.de/gna/html/cc/Tutorial/node10.htm#SECTION001050000000000000000〕
==Rationale==
Friendship may allow a class to be better encapsulated by granting per-class access to parts of its API that would otherwise have to be public.〔http://www.parashift.com/c++-faq/friends-and-encap.html〕 This increased encapsulation comes at the cost of tighter coupling between classes.〔http://www.artima.com/cppsource/codestandards3.html〕

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Friend class」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.